﻿namespace AnyOffice.WebControls
{
    using System;
    using System.ComponentModel;
    using System.Web.UI;
    using System.Web.UI.WebControls;

    [ToolboxData("<{0}:HFHyperLink runat=server></{0}:HFHyperLink>"), DefaultProperty("Text")]
    public class HFHyperLink : HyperLink
    {
        protected override void RenderContents(HtmlTextWriter output)
        {
            output.Write(output);
        }

        [Localizable(true), Category("Appearance"), DefaultValue(""), Bindable(true)]
        public string Text1
        {
            get
            {
                string str = (string) this.ViewState["Text"];
                return ((str == null) ? string.Empty : str);
            }
            set
            {
                this.ViewState["Text"] = value;
            }
        }
    }
}

